package com.zuimei.zuimei.utils;

import android.content.Context;
import android.widget.Toast;

/**
 * Created by Jogger on 2017/1/25.
 * toast工具类
 */

public class ToastUtil {
    private static Toast mToast;
    public static void showToast(Context context,String msg){
        if (mToast==null){
            mToast=Toast.makeText(context,msg,Toast.LENGTH_SHORT);
        }
        mToast.show();
    }
}
